package 方法;

public class 方法内存调用 {


    public static void main(String[] args) {
        int x=5;
        int y=10;
        int z=add(x,y);
        System.out.println(z);
        System.out.println("******************");
        m1(x);
        System.out.println(x);
    }

    public static void m1(int x){
        x=100;
        System.out.println(x);
    }

    public static int add(int x,int y){
        return x+y;
    }
}
